.class public Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;
.super Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;
.source "SideNavigationFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$OnCategorySelected;
    }
.end annotation


# instance fields
.field private mArrow:Landroid/view/View;

.field private mCategoryModels:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/CategoryModel;",
            ">;"
        }
    .end annotation
.end field

.field private mClickView:Landroid/view/View;

.field private mCurrentItemBox:Ljava/lang/Object;

.field private mDailyNiceAppBtn:Landroid/view/ViewGroup;

.field private mDataSet:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field private mFeedbackBtn:Landroid/widget/Button;

.field private mHomePageBtn:Landroid/view/ViewGroup;

.field private mIdentityImage:Landroid/widget/ImageView;

.field private mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field private mLinkHandler:Lcom/brixd/niceapp/util/LinkHandler;

.field private mListView:Landroid/widget/ExpandableListView;

.field private mMainNavView:Landroid/view/View;

.field private mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

.field private mMoreBtn:Landroid/widget/ImageButton;

.field private mMsgCountTxt:Landroid/widget/TextView;

.field private mMsgNotifyBtn:Landroid/view/View;

.field private mNiceGameBtn:Landroid/view/ViewGroup;

.field private mSearchBtn:Landroid/widget/ImageButton;

.field private mSideNavCategoryAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;

.field private mUserBox:Landroid/view/ViewGroup;

.field private mUserDescText:Landroid/widget/TextView;

.field private mUserImageView:Landroid/widget/ImageView;

.field private mUserModel:Lcom/brixd/niceapp/model/UserModel;

.field private mUserNameText:Landroid/widget/TextView;

.field private onCategorySelected:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$OnCategorySelected;

.field private options:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field slidingMenuActivity:Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;


# direct methods
.method public constructor <init>()V
    .registers 2

    .prologue
    .line 88
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;-><init>()V

    .line 116
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCategoryModels:Ljava/util/ArrayList;

    .line 118
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mDataSet:Ljava/util/ArrayList;

    .line 120
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$1;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$1;-><init>(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->onCategorySelected:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$OnCategorySelected;

    .line 759
    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)Ljava/lang/Object;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    .prologue
    .line 88
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCurrentItemBox:Ljava/lang/Object;

    return-object v0
.end method

.method static synthetic access$002(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;
    .param p1, "x1"    # Ljava/lang/Object;

    .prologue
    .line 88
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCurrentItemBox:Ljava/lang/Object;

    return-object p1
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    .prologue
    .line 88
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCategoryModels:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$102(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;
    .param p1, "x1"    # Ljava/util/ArrayList;

    .prologue
    .line 88
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCategoryModels:Ljava/util/ArrayList;

    return-object p1
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)Lcom/brixd/niceapp/model/UserModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    .prologue
    .line 88
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    return-object v0
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;Lorg/json/JSONObject;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;
    .param p1, "x1"    # Lorg/json/JSONObject;

    .prologue
    .line 88
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->cacheCategoryData(Lorg/json/JSONObject;)V

    return-void
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    .prologue
    .line 88
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->assembleDataSet()V

    return-void
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    .prologue
    .line 88
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->refreshSideNav()V

    return-void
.end method

.method private assembleDataSet()V
    .registers 7

    .prologue
    .line 246
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 248
    .local v1, "dataSet":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getZuimeiAppCategory()Lcom/brixd/niceapp/model/CategoryModel;

    move-result-object v3

    .line 250
    .local v3, "zuimeiAppCategoryModel":Lcom/brixd/niceapp/model/CategoryModel;
    new-instance v2, Ljava/util/HashMap;

    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    .line 251
    .local v2, "map":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    sget-object v4, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_TITLE:Ljava/lang/String;

    sget-object v5, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_CATEGORY:Ljava/lang/String;

    invoke-virtual {v2, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 252
    sget-object v4, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_DATA:Ljava/lang/String;

    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v2, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 253
    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 255
    invoke-static {}, Lcom/brixd/niceapp/util/SettingUtils;->parseAppRecommendModel()Lcom/brixd/niceapp/model/AppRecommendModel;

    move-result-object v0

    .line 256
    .local v0, "appRecommendModel":Lcom/brixd/niceapp/model/AppRecommendModel;
    if-eqz v0, :cond_39

    .line 257
    new-instance v2, Ljava/util/HashMap;

    .end local v2    # "map":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    .line 258
    .restart local v2    # "map":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    sget-object v4, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_TITLE:Ljava/lang/String;

    sget-object v5, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_APP_PROMOTE:Ljava/lang/String;

    invoke-virtual {v2, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 259
    sget-object v4, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_DATA:Ljava/lang/String;

    invoke-virtual {v2, v4, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 260
    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 263
    :cond_39
    if-eqz v3, :cond_4f

    .line 264
    new-instance v2, Ljava/util/HashMap;

    .end local v2    # "map":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    .line 265
    .restart local v2    # "map":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    sget-object v4, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_TITLE:Ljava/lang/String;

    sget-object v5, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_ZUIMEI_APP:Ljava/lang/String;

    invoke-virtual {v2, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 266
    sget-object v4, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_DATA:Ljava/lang/String;

    invoke-virtual {v2, v4, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 267
    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 270
    :cond_4f
    new-instance v2, Ljava/util/HashMap;

    .end local v2    # "map":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    .line 271
    .restart local v2    # "map":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    sget-object v4, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_TITLE:Ljava/lang/String;

    sget-object v5, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_RATE:Ljava/lang/String;

    invoke-virtual {v2, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 272
    sget-object v4, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->SECTION_DATA:Ljava/lang/String;

    new-instance v5, Ljava/lang/Object;

    invoke-direct {v5}, Ljava/lang/Object;-><init>()V

    invoke-virtual {v2, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 273
    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 275
    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mDataSet:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->clear()V

    .line 276
    iput-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mDataSet:Ljava/util/ArrayList;

    .line 277
    return-void
.end method

.method private cacheCategoryData(Lorg/json/JSONObject;)V
    .registers 3
    .param p1, "jo"    # Lorg/json/JSONObject;

    .prologue
    .line 617
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$5;

    invoke-direct {v0, p0, p1}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$5;-><init>(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;Lorg/json/JSONObject;)V

    .line 621
    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$5;->start()V

    .line 622
    return-void
.end method

.method private downloadApk(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .registers 13
    .param p1, "title"    # Ljava/lang/String;
    .param p2, "pkg"    # Ljava/lang/String;
    .param p3, "url"    # Ljava/lang/String;

    .prologue
    .line 555
    new-instance v6, Landroid/content/Intent;

    const-string v0, "android.intent.action.VIEW"

    invoke-direct {v6, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 556
    .local v6, "appIntent":Landroid/content/Intent;
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "market://details?id="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v6, v0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 557
    const-string v0, "com.xiaomi.market"

    invoke-virtual {v6, v0}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;

    .line 559
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0, v6}, Lcom/zuiapps/suite/utils/intent/IntentUtil;->isIntentAvailable(Landroid/content/Context;Landroid/content/Intent;)Z

    move-result v0

    if-eqz v0, :cond_41

    .line 560
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const-string v1, "ClickGoToXiaomiSideBottom"

    invoke-static {v0, v1, p2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 561
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/support/v4/app/FragmentActivity;->startActivity(Landroid/content/Intent;)V

    .line 576
    :goto_40
    return-void

    .line 564
    :cond_41
    const/4 v1, 0x0

    const v0, 0x7f0c0062

    :try_start_45
    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getString(I)Ljava/lang/String;

    move-result-object v3

    const-string v4, "nice_app_side_nav"

    const/4 v5, 0x1

    move-object v0, p3

    move-object v2, p1

    invoke-static/range {v0 .. v5}, Lcom/brixd/niceapp/util/DownloadUtils;->startDownload(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V

    .line 565
    const v0, 0x7f0c0107

    invoke-static {v0}, Lcom/brixd/niceapp/util/ToastUtils;->show(I)V
    :try_end_57
    .catch Ljava/lang/Exception; {:try_start_45 .. :try_end_57} :catch_58

    goto :goto_40

    .line 566
    :catch_58
    move-exception v7

    .line 568
    .local v7, "e":Ljava/lang/Exception;
    :try_start_59
    new-instance v8, Landroid/content/Intent;

    invoke-direct {v8}, Landroid/content/Intent;-><init>()V

    .line 569
    .local v8, "intent":Landroid/content/Intent;
    const-string v0, "android.intent.action.VIEW"

    invoke-virtual {v8, v0}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 570
    invoke-static {p3}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v8, v0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 571
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {v0, v8}, Landroid/support/v4/app/FragmentActivity;->startActivity(Landroid/content/Intent;)V
    :try_end_71
    .catch Ljava/lang/Exception; {:try_start_59 .. :try_end_71} :catch_72

    goto :goto_40

    .line 572
    .end local v8    # "intent":Landroid/content/Intent;
    :catch_72
    move-exception v0

    goto :goto_40
.end method

.method private getZuimeiAppCategory()Lcom/brixd/niceapp/model/CategoryModel;
    .registers 5

    .prologue
    .line 280
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_6
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1e

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/CategoryModel;

    .line 282
    .local v0, "model":Lcom/brixd/niceapp/model/CategoryModel;
    iget v2, v0, Lcom/brixd/niceapp/model/CategoryModel;->cid:I

    const/16 v3, 0x3d

    if-ne v2, v3, :cond_6

    .line 283
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 288
    .end local v0    # "model":Lcom/brixd/niceapp/model/CategoryModel;
    :goto_1d
    return-object v0

    :cond_1e
    const/4 v0, 0x0

    goto :goto_1d
.end method

.method private initDataSet()V
    .registers 1

    .prologue
    .line 231
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->requestCategory()V

    .line 232
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->assembleDataSet()V

    .line 233
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->refreshSideNav()V

    .line 234
    return-void
.end method

.method private openAboutBri()V
    .registers 3

    .prologue
    .line 494
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const-string v1, "OpenBriWebsiteFromSideMenuBottom"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 495
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->openAboutBri(Landroid/content/Context;)V

    .line 496
    return-void
.end method

.method private openAboutZuimei()V
    .registers 3

    .prologue
    .line 489
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const-string v1, "OpenAboutUsFromSideMenuBottom"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 490
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->openAboutZuimei(Landroid/content/Context;)V

    .line 491
    return-void
.end method

.method private openFeedback()V
    .registers 3

    .prologue
    .line 499
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const-string v1, "OpenFeedbackFromSideMenuBottom"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 500
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->openFeedback(Landroid/content/Context;)V

    .line 501
    return-void
.end method

.method private openGrade()V
    .registers 3

    .prologue
    .line 504
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const-string v1, "OpenRateFromSideMenuBottom"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 505
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->openGrade(Landroid/content/Context;)V

    .line 506
    return-void
.end method

.method private openOrDownloadApk(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .registers 7
    .param p1, "title"    # Ljava/lang/String;
    .param p2, "packageName"    # Ljava/lang/String;
    .param p3, "url"    # Ljava/lang/String;

    .prologue
    .line 509
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-static {v2, p2}, Lcom/zuiapps/suite/utils/app/AppUtil;->isAppInstalled(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1f

    .line 511
    :try_start_a
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-virtual {v2}, Landroid/support/v4/app/FragmentActivity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    invoke-virtual {v2, p2}, Landroid/content/pm/PackageManager;->getLaunchIntentForPackage(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v1

    .line 512
    .local v1, "intent":Landroid/content/Intent;
    invoke-virtual {p0, v1}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->startActivity(Landroid/content/Intent;)V
    :try_end_19
    .catch Ljava/lang/Exception; {:try_start_a .. :try_end_19} :catch_1a

    .line 519
    .end local v1    # "intent":Landroid/content/Intent;
    :goto_19
    return-void

    .line 513
    :catch_1a
    move-exception v0

    .line 514
    .local v0, "e":Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_19

    .line 517
    .end local v0    # "e":Ljava/lang/Exception;
    :cond_1f
    invoke-direct {p0, p1, p2, p3}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->downloadApk(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_19
.end method

.method private openUrl(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .registers 7
    .param p1, "title"    # Ljava/lang/String;
    .param p2, "url"    # Ljava/lang/String;
    .param p3, "packageName"    # Ljava/lang/String;

    .prologue
    .line 522
    invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_a

    .line 523
    invoke-direct {p0, p1, p3, p2}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->openOrDownloadApk(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 552
    :goto_9
    return-void

    .line 527
    :cond_a
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mLinkHandler:Lcom/brixd/niceapp/util/LinkHandler;

    if-nez v1, :cond_19

    .line 528
    new-instance v1, Lcom/brixd/niceapp/util/LinkHandler;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/brixd/niceapp/util/LinkHandler;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mLinkHandler:Lcom/brixd/niceapp/util/LinkHandler;

    .line 531
    :cond_19
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mLinkHandler:Lcom/brixd/niceapp/util/LinkHandler;

    invoke-virtual {v1, p2}, Lcom/brixd/niceapp/util/LinkHandler;->redirectUrl(Ljava/lang/String;)Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;

    move-result-object v0

    .line 532
    .local v0, "ret":Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$7;->$SwitchMap$com$brixd$niceapp$util$LinkHandler$RedirectResult:[I

    invoke-virtual {v0}, Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;->ordinal()I

    move-result v2

    aget v1, v1, v2

    packed-switch v1, :pswitch_data_54

    goto :goto_9

    .line 534
    :pswitch_2b
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, "GotoWebViewFromSideMenuBottom"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_9

    .line 538
    :pswitch_35
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, "GotoDailyDetailFromSideMenuBottom"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_9

    .line 542
    :pswitch_3f
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, "GotoCummunityDetailFromSideMenuBottom"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_9

    .line 546
    :pswitch_49
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, "GotoCommunityTagsFromSideMenuBottom"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_9

    .line 532
    nop

    :pswitch_data_54
    .packed-switch 0x1
        :pswitch_2b
        :pswitch_35
        :pswitch_3f
        :pswitch_49
    .end packed-switch
.end method

.method private refreshSideNav()V
    .registers 4

    .prologue
    .line 237
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mSideNavCategoryAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mDataSet:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->setDataSet(Ljava/util/ArrayList;)V

    .line 238
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mSideNavCategoryAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;->notifyDataSetChanged()V

    .line 240
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_d
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mDataSet:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v0, v1, :cond_1d

    .line 241
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v1, v0}, Landroid/widget/ExpandableListView;->expandGroup(I)Z

    .line 240
    add-int/lit8 v0, v0, 0x1

    goto :goto_d

    .line 243
    :cond_1d
    return-void
.end method

.method private requestCategory()V
    .registers 6

    .prologue
    .line 582
    invoke-static {}, Lcom/brixd/niceapp/service/AppService;->getCachedCategoryModelsJsonData()Lorg/json/JSONObject;

    move-result-object v0

    .line 583
    .local v0, "categoryJsonData":Lorg/json/JSONObject;
    if-eqz v0, :cond_13

    .line 584
    invoke-static {v0}, Lcom/brixd/niceapp/model/CategoryModel;->parseCategoryModels(Lorg/json/JSONObject;)Ljava/util/ArrayList;

    move-result-object v1

    .line 586
    .local v1, "categoryModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/CategoryModel;>;"
    invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v3

    if-nez v3, :cond_13

    .line 587
    iput-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCategoryModels:Ljava/util/ArrayList;

    .line 614
    .end local v1    # "categoryModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/CategoryModel;>;"
    :goto_12
    return-void

    .line 592
    :cond_13
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    invoke-static {v3}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v3

    const-class v4, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {v3, v4}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    .line 593
    .local v2, "request":Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;
    const/4 v3, 0x2

    new-instance v4, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$4;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$4;-><init>(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)V

    invoke-interface {v2, v3, v4}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->listCategoryApps(ILretrofit/Callback;)V

    goto :goto_12
.end method

.method private updateCommunitySidebarNotify(Z)V
    .registers 2
    .param p1, "isShowNotify"    # Z

    .prologue
    .line 738
    return-void
.end method

.method private updateCurrentNavItemState(Landroid/view/ViewGroup;)Z
    .registers 3
    .param p1, "viewGroup"    # Landroid/view/ViewGroup;

    .prologue
    .line 625
    const/4 v0, 0x1

    invoke-direct {p0, p1, v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateCurrentNavItemState(Landroid/view/ViewGroup;Z)Z

    move-result v0

    return v0
.end method

.method private updateCurrentNavItemState(Landroid/view/ViewGroup;Z)Z
    .registers 8
    .param p1, "viewGroup"    # Landroid/view/ViewGroup;
    .param p2, "toggleMenu"    # Z

    .prologue
    const v4, 0x7f02027f

    const/4 v3, 0x0

    .line 629
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCurrentItemBox:Ljava/lang/Object;

    if-ne v2, p1, :cond_15

    .line 630
    if-eqz p2, :cond_13

    .line 631
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->slidingMenuActivity:Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;->getSlidingMenu()Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    move-result-object v2

    invoke-virtual {v2}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->toggle()V

    :cond_13
    move v2, v3

    .line 649
    :goto_14
    return v2

    .line 636
    :cond_15
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCurrentItemBox:Ljava/lang/Object;

    instance-of v2, v2, Landroid/widget/LinearLayout;

    if-eqz v2, :cond_36

    .line 638
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCurrentItemBox:Ljava/lang/Object;

    check-cast v2, Landroid/view/ViewGroup;

    invoke-virtual {v2, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 639
    .local v0, "currentIndicatorImage":Landroid/widget/ImageView;
    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 641
    invoke-virtual {p1, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 642
    .local v1, "indicatorImage":Landroid/widget/ImageView;
    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 648
    .end local v0    # "currentIndicatorImage":Landroid/widget/ImageView;
    .end local v1    # "indicatorImage":Landroid/widget/ImageView;
    :cond_32
    :goto_32
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCurrentItemBox:Ljava/lang/Object;

    .line 649
    const/4 v2, 0x1

    goto :goto_14

    .line 643
    :cond_36
    instance-of v2, p1, Landroid/widget/LinearLayout;

    if-eqz v2, :cond_32

    .line 644
    invoke-virtual {p1, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 645
    .restart local v1    # "indicatorImage":Landroid/widget/ImageView;
    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_32
.end method

.method private updateMessageStatus(I)V
    .registers 5
    .param p1, "messageCount"    # I

    .prologue
    .line 746
    if-lez p1, :cond_21

    .line 747
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMsgNotifyBtn:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 748
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMsgCountTxt:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " \u6761\u65b0\u6d88\u606f"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 752
    :goto_20
    return-void

    .line 750
    :cond_21
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMsgNotifyBtn:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_20
.end method

.method private updateUserInfo()V
    .registers 2

    .prologue
    .line 292
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 293
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateUserInfoUI(Lcom/brixd/niceapp/model/UserModel;)V

    .line 294
    return-void
.end method

.method private updateUserInfoUI(Lcom/brixd/niceapp/model/UserModel;)V
    .registers 9
    .param p1, "userModel"    # Lcom/brixd/niceapp/model/UserModel;

    .prologue
    const/4 v6, 0x0

    const/16 v5, 0x8

    const/4 v4, 0x0

    .line 299
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-nez v1, :cond_48

    .line 300
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserDescText:Landroid/widget/TextView;

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setVisibility(I)V

    .line 301
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserNameText:Landroid/widget/TextView;

    const v2, 0x7f0c0102

    invoke-virtual {p0, v2}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 302
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserNameText:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f020056

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v1, v4, v4, v2, v4}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 303
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserDescText:Landroid/widget/TextView;

    const-string v2, ""

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 304
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserImageView:Landroid/widget/ImageView;

    const v2, 0x7f0202b0

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 305
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserImageView:Landroid/widget/ImageView;

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 307
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mArrow:Landroid/view/View;

    invoke-virtual {v1, v5}, Landroid/view/View;->setVisibility(I)V

    .line 308
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mIdentityImage:Landroid/widget/ImageView;

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 336
    :goto_47
    return-void

    .line 311
    :cond_48
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserNameText:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/UserModel;->getNick()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 312
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserNameText:Landroid/widget/TextView;

    invoke-virtual {v1, v4, v4, v4, v4}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 313
    invoke-virtual {p1}, Lcom/brixd/niceapp/model/UserModel;->getUserIdentity()I

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_c2

    .line 314
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mIdentityImage:Landroid/widget/ImageView;

    invoke-virtual {v1, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 318
    :goto_62
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserImageView:Landroid/widget/ImageView;

    const v2, 0x7f02023e

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 319
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mArrow:Landroid/view/View;

    invoke-virtual {v1, v6}, Landroid/view/View;->setVisibility(I)V

    .line 321
    invoke-virtual {p1}, Lcom/brixd/niceapp/model/UserModel;->getDescription()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_b4

    .line 322
    invoke-virtual {p1}, Lcom/brixd/niceapp/model/UserModel;->getBravos()I

    move-result v1

    if-lez v1, :cond_c8

    .line 323
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/FragmentActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020296

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 324
    .local v0, "drawable":Landroid/graphics/drawable/Drawable;
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserDescText:Landroid/widget/TextView;

    invoke-virtual {v1, v0, v4, v4, v4}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 325
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserDescText:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/UserModel;->getBravos()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 330
    .end local v0    # "drawable":Landroid/graphics/drawable/Drawable;
    :goto_af
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserDescText:Landroid/widget/TextView;

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setVisibility(I)V

    .line 333
    :cond_b4
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/UserModel;->getImage()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserImageView:Landroid/widget/ImageView;

    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->options:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v1, v2, v3, v4}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    goto :goto_47

    .line 316
    :cond_c2
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mIdentityImage:Landroid/widget/ImageView;

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_62

    .line 327
    :cond_c8
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserDescText:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/UserModel;->getDescription()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_af
.end method


# virtual methods
.method protected initActions(Landroid/view/View;)V
    .registers 4
    .param p1, "fragmentView"    # Landroid/view/View;

    .prologue
    .line 339
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mDailyNiceAppBtn:Landroid/view/ViewGroup;

    invoke-virtual {v0, p0}, Landroid/view/ViewGroup;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 340
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mHomePageBtn:Landroid/view/ViewGroup;

    invoke-virtual {v0, p0}, Landroid/view/ViewGroup;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 341
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mNiceGameBtn:Landroid/view/ViewGroup;

    invoke-virtual {v0, p0}, Landroid/view/ViewGroup;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 343
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserBox:Landroid/view/ViewGroup;

    new-instance v1, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;-><init>(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)V

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 361
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mFeedbackBtn:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 362
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mSearchBtn:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 363
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMoreBtn:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 365
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMsgNotifyBtn:Landroid/view/View;

    new-instance v1, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$3;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$3;-><init>(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 381
    return-void
.end method

.method protected initData()V
    .registers 4

    .prologue
    const v2, 0x7f02010e

    const/4 v1, 0x1

    .line 160
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->slidingMenuActivity:Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    .line 161
    new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisc(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    .line 162
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    new-instance v1, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;

    invoke-direct {v1}, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->displayer(Lcom/nostra13/universalimageloader/core/display/BitmapDisplayer;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 163
    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->options:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 165
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 166
    return-void
.end method

.method protected initViews(Landroid/view/LayoutInflater;)Landroid/view/View;
    .registers 8
    .param p1, "inflater"    # Landroid/view/LayoutInflater;

    .prologue
    const/4 v5, 0x2

    const/4 v4, 0x0

    .line 178
    const v2, 0x7f030058

    invoke-virtual {p1, v2, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 179
    .local v1, "view":Landroid/view/View;
    const v2, 0x7f0a0125

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMainNavView:Landroid/view/View;

    .line 181
    const v2, 0x7f0a0128

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mFeedbackBtn:Landroid/widget/Button;

    .line 182
    const v2, 0x7f0a0090

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageButton;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mSearchBtn:Landroid/widget/ImageButton;

    .line 183
    const v2, 0x7f0a0127

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageButton;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMoreBtn:Landroid/widget/ImageButton;

    .line 185
    invoke-static {}, Lcom/brixd/niceapp/util/SettingUtils;->getMenuSettingModel()Lcom/brixd/niceapp/model/SideMenuSettingModel;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    .line 186
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    if-eqz v2, :cond_48

    .line 187
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mFeedbackBtn:Landroid/widget/Button;

    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/SideMenuSettingModel;->getTitle()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 189
    :cond_48
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mFeedbackBtn:Landroid/widget/Button;

    invoke-virtual {v2}, Landroid/widget/Button;->requestFocus()Z

    .line 191
    const v2, 0x7f0a002b

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ExpandableListView;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    .line 192
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v2, v5}, Landroid/widget/ExpandableListView;->setOverScrollMode(I)V

    .line 193
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/ExpandableListView;->setHeaderDividersEnabled(Z)V

    .line 194
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    const v3, 0x7f0202d5

    invoke-virtual {v2, v3}, Landroid/widget/ExpandableListView;->setSelector(I)V

    .line 195
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v2, v4}, Landroid/widget/ExpandableListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    .line 196
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v2, v4}, Landroid/widget/ExpandableListView;->setGroupIndicator(Landroid/graphics/drawable/Drawable;)V

    .line 198
    invoke-static {}, Lcom/zuiapps/suite/utils/device/DeviceUtil;->isMeizu()Z

    move-result v2

    if-nez v2, :cond_80

    .line 199
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v2, v5}, Landroid/widget/ExpandableListView;->setOverScrollMode(I)V

    .line 202
    :cond_80
    const v2, 0x7f030077

    invoke-virtual {p1, v2, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 203
    .local v0, "headerView":Landroid/view/View;
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v2, v0}, Landroid/widget/ExpandableListView;->addHeaderView(Landroid/view/View;)V

    .line 205
    const v2, 0x7f0a00b8

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mArrow:Landroid/view/View;

    .line 206
    const v2, 0x7f0a01ab

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMsgNotifyBtn:Landroid/view/View;

    .line 207
    const v2, 0x7f0a01ac

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMsgCountTxt:Landroid/widget/TextView;

    .line 208
    const v2, 0x7f0a01a9

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserNameText:Landroid/widget/TextView;

    .line 209
    const v2, 0x7f0a01aa

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserDescText:Landroid/widget/TextView;

    .line 210
    const v2, 0x7f0a0161

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserImageView:Landroid/widget/ImageView;

    .line 211
    const v2, 0x7f0a0077

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mIdentityImage:Landroid/widget/ImageView;

    .line 212
    const v2, 0x7f0a01a8

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/view/ViewGroup;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserBox:Landroid/view/ViewGroup;

    .line 213
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateUserInfo()V

    .line 215
    const v2, 0x7f0a01ae

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/view/ViewGroup;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mDailyNiceAppBtn:Landroid/view/ViewGroup;

    .line 216
    const v2, 0x7f0a01ad

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/view/ViewGroup;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mHomePageBtn:Landroid/view/ViewGroup;

    .line 217
    const v2, 0x7f0a01af

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/view/ViewGroup;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mNiceGameBtn:Landroid/view/ViewGroup;

    .line 219
    new-instance v2, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;

    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->slidingMenuActivity:Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->onCategorySelected:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$OnCategorySelected;

    invoke-direct {v2, v3, v4, v5}, Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;-><init>(Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$OnCategorySelected;)V

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mSideNavCategoryAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;

    .line 220
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mListView:Landroid/widget/ExpandableListView;

    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mSideNavCategoryAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/SideNavCategoryAdapter;

    invoke-virtual {v2, v3}, Landroid/widget/ExpandableListView;->setAdapter(Landroid/widget/ExpandableListAdapter;)V

    .line 223
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mNiceGameBtn:Landroid/view/ViewGroup;

    const-string v3, "zuimei.game"

    invoke-virtual {v2, v3}, Landroid/view/ViewGroup;->setTag(Ljava/lang/Object;)V

    .line 224
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mHomePageBtn:Landroid/view/ViewGroup;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCurrentItemBox:Ljava/lang/Object;

    .line 226
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->initDataSet()V

    .line 227
    return-object v1
.end method

.method public onActivityCreated(Landroid/os/Bundle;)V
    .registers 6
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 170
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onActivityCreated(Landroid/os/Bundle;)V

    .line 171
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-static {v1}, Lcom/zuiapps/suite/utils/db/SharePrefHelper;->getInstance(Landroid/content/Context;)Lcom/zuiapps/suite/utils/db/SharePrefHelper;

    move-result-object v1

    const-string v2, "CurrentBgColor"

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Lcom/zuiapps/suite/utils/db/SharePrefHelper;->getPref(Ljava/lang/String;I)I

    move-result v0

    .line 172
    .local v0, "bgColor":I
    if-eqz v0, :cond_19

    .line 173
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMainNavView:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setBackgroundColor(I)V

    .line 175
    :cond_19
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .registers 11
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 385
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v6

    sparse-switch v6, :sswitch_data_118

    .line 486
    .end local p1    # "v":Landroid/view/View;
    :cond_7
    :goto_7
    return-void

    .line 387
    .restart local p1    # "v":Landroid/view/View;
    :sswitch_8
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v6

    const-string v7, "ClickGoToDailyApp"

    invoke-static {v6, v7}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 389
    check-cast p1, Landroid/view/ViewGroup;

    .end local p1    # "v":Landroid/view/View;
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateCurrentNavItemState(Landroid/view/ViewGroup;)Z

    move-result v2

    .line 390
    .local v2, "needUpdate":Z
    if-eqz v2, :cond_7

    .line 391
    invoke-static {}, Lcom/brixd/niceapp/service/AppService;->getCachedAppModelsJsonData()Lorg/json/JSONObject;

    move-result-object v1

    .line 392
    .local v1, "jsonData":Lorg/json/JSONObject;
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->slidingMenuActivity:Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    sget-object v7, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->NICE_DAILY:Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    invoke-static {v1, v7}, Lcom/brixd/niceapp/model/AppModel;->parseAppModels(Lorg/json/JSONObject;Lcom/brixd/niceapp/constant/AppConstant$ModuleType;)Ljava/util/ArrayList;

    move-result-object v7

    sget-object v8, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->DAILY_NICE_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    invoke-static {v7, v8}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getDailyAppInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;->switchFragment(Landroid/support/v4/app/Fragment;)V

    goto :goto_7

    .line 399
    .end local v1    # "jsonData":Lorg/json/JSONObject;
    .end local v2    # "needUpdate":Z
    .restart local p1    # "v":Landroid/view/View;
    :sswitch_2f
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v6

    const-string v7, "ClickGoToCummunity"

    invoke-static {v6, v7}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 400
    check-cast p1, Landroid/view/ViewGroup;

    .end local p1    # "v":Landroid/view/View;
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateCurrentNavItemState(Landroid/view/ViewGroup;)Z

    move-result v2

    .line 401
    .restart local v2    # "needUpdate":Z
    if-eqz v2, :cond_7

    .line 402
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->slidingMenuActivity:Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    invoke-static {}, Lcom/brixd/niceapp/community/CommunityMainFragment;->getInstance()Lcom/brixd/niceapp/community/CommunityMainFragment;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;->switchFragment(Landroid/support/v4/app/Fragment;)V

    goto :goto_7

    .line 408
    .end local v2    # "needUpdate":Z
    .restart local p1    # "v":Landroid/view/View;
    :sswitch_4a
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v6

    const-string v7, "ClickGotoNiceGame"

    invoke-static {v6, v7}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 410
    check-cast p1, Landroid/view/ViewGroup;

    .end local p1    # "v":Landroid/view/View;
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateCurrentNavItemState(Landroid/view/ViewGroup;)Z

    move-result v2

    .line 411
    .restart local v2    # "needUpdate":Z
    if-eqz v2, :cond_7

    .line 412
    sget-object v6, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    invoke-static {v6}, Lcom/brixd/niceapp/service/AppService;->getCachedCommonJsonData(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;)Lorg/json/JSONObject;

    move-result-object v1

    .line 413
    .restart local v1    # "jsonData":Lorg/json/JSONObject;
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->slidingMenuActivity:Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    sget-object v7, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->NICE_GAME:Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    invoke-static {v1, v7}, Lcom/brixd/niceapp/model/AppModel;->parseAppModels(Lorg/json/JSONObject;Lcom/brixd/niceapp/constant/AppConstant$ModuleType;)Ljava/util/ArrayList;

    move-result-object v7

    invoke-static {v7}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getNiceGameInstance(Ljava/util/ArrayList;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;->switchFragment(Landroid/support/v4/app/Fragment;)V

    goto :goto_7

    .line 420
    .end local v1    # "jsonData":Lorg/json/JSONObject;
    .end local v2    # "needUpdate":Z
    .restart local p1    # "v":Landroid/view/View;
    :sswitch_71
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v6

    const-string v7, "ClickSearch"

    invoke-static {v6, v7}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 421
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v6

    check-cast v6, Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    invoke-virtual {v6}, Lcom/brixd/niceapp/activity/NiceAppContentActivity;->performSearchEvent()V

    goto :goto_7

    .line 425
    :sswitch_84
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v6

    const-string v7, "ClickSetting"

    invoke-static {v6, v7}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 426
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v6

    check-cast v6, Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    invoke-virtual {v6}, Lcom/brixd/niceapp/activity/NiceAppContentActivity;->performMoreEvent()V

    goto/16 :goto_7

    .line 430
    :sswitch_98
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    if-nez v6, :cond_ae

    .line 431
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v6

    const-string v7, "ClickFeedback"

    invoke-static {v6, v7}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 433
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v6

    invoke-static {v6}, Lcom/zuiapps/common/feedback/FeedbackUtils;->startFeedbackActivity(Landroid/content/Context;)V

    goto/16 :goto_7

    .line 435
    :cond_ae
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/SideMenuSettingModel;->getType()I

    move-result v6

    sparse-switch v6, :sswitch_data_132

    goto/16 :goto_7

    .line 437
    :sswitch_b9
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/SideMenuSettingModel;->getTitle()Ljava/lang/String;

    move-result-object v4

    .line 438
    .local v4, "title":Ljava/lang/String;
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/SideMenuSettingModel;->getDetail()Ljava/lang/String;

    move-result-object v5

    .line 439
    .local v5, "url":Ljava/lang/String;
    const-string v3, ""

    .line 441
    .local v3, "packageName":Ljava/lang/String;
    :try_start_c7
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/SideMenuSettingModel;->getDetail()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v6

    const-string v7, "package"

    invoke-virtual {v6, v7}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
    :try_end_d6
    .catch Ljava/lang/Exception; {:try_start_c7 .. :try_end_d6} :catch_dc

    move-result-object v3

    .line 446
    :goto_d7
    invoke-direct {p0, v4, v5, v3}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->openUrl(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_7

    .line 442
    :catch_dc
    move-exception v0

    .line 443
    .local v0, "e":Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_d7

    .line 450
    .end local v0    # "e":Ljava/lang/Exception;
    .end local v3    # "packageName":Ljava/lang/String;
    .end local v4    # "title":Ljava/lang/String;
    .end local v5    # "url":Ljava/lang/String;
    :sswitch_e1
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->openAboutZuimei()V

    goto/16 :goto_7

    .line 454
    :sswitch_e6
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->openAboutBri()V

    goto/16 :goto_7

    .line 458
    :sswitch_eb
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->openGrade()V

    goto/16 :goto_7

    .line 461
    :sswitch_f0
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->openFeedback()V

    goto/16 :goto_7

    .line 465
    :sswitch_f5
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/SideMenuSettingModel;->getTitle()Ljava/lang/String;

    move-result-object v4

    .line 466
    .restart local v4    # "title":Ljava/lang/String;
    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMenuSettingModel:Lcom/brixd/niceapp/model/SideMenuSettingModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/SideMenuSettingModel;->getDetail()Ljava/lang/String;

    move-result-object v5

    .line 467
    .restart local v5    # "url":Ljava/lang/String;
    const-string v3, ""

    .line 469
    .restart local v3    # "packageName":Ljava/lang/String;
    :try_start_103
    invoke-static {v5}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v6

    const-string v7, "package"

    invoke-virtual {v6, v7}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
    :try_end_10c
    .catch Ljava/lang/Exception; {:try_start_103 .. :try_end_10c} :catch_112

    move-result-object v3

    .line 474
    :goto_10d
    invoke-direct {p0, v4, v3, v5}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->openOrDownloadApk(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_7

    .line 470
    :catch_112
    move-exception v0

    .line 471
    .restart local v0    # "e":Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_10d

    .line 385
    nop

    :sswitch_data_118
    .sparse-switch
        0x7f0a0090 -> :sswitch_71
        0x7f0a0127 -> :sswitch_84
        0x7f0a0128 -> :sswitch_98
        0x7f0a01ad -> :sswitch_2f
        0x7f0a01ae -> :sswitch_8
        0x7f0a01af -> :sswitch_4a
    .end sparse-switch

    .line 435
    :sswitch_data_132
    .sparse-switch
        0x1 -> :sswitch_b9
        0x60 -> :sswitch_f5
        0x61 -> :sswitch_f0
        0x62 -> :sswitch_eb
        0x63 -> :sswitch_e6
        0x64 -> :sswitch_e1
    .end sparse-switch
.end method

.method public onColorChanged(Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;)V
    .registers 5
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 676
    new-instance v1, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$6;

    invoke-direct {v1, p0, p1}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$6;-><init>(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;)V

    .line 681
    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$6;->start()V

    .line 683
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMainNavView:Landroid/view/View;

    if-eqz v1, :cond_29

    .line 684
    new-instance v0, Landroid/graphics/drawable/ColorDrawable;

    invoke-virtual {p1}, Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;->getColor()I

    move-result v1

    invoke-direct {v0, v1}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    .line 685
    .local v0, "colorDrawable":Landroid/graphics/drawable/ColorDrawable;
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/FragmentActivity;->getWindow()Landroid/view/Window;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 686
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mMainNavView:Landroid/view/View;

    invoke-virtual {p1}, Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;->getColor()I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    .line 688
    .end local v0    # "colorDrawable":Landroid/graphics/drawable/ColorDrawable;
    :cond_29
    return-void
.end method

.method public onCommunitySidebarNotifyChanged(Lcom/brixd/niceapp/bus/event/CommunitySidebarNotifyEvent;)V
    .registers 3
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/CommunitySidebarNotifyEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 729
    invoke-virtual {p1}, Lcom/brixd/niceapp/bus/event/CommunitySidebarNotifyEvent;->isShowNotify()Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateCommunitySidebarNotify(Z)V

    .line 730
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .registers 3
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 142
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onCreate(Landroid/os/Bundle;)V

    .line 143
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->register(Ljava/lang/Object;)V

    .line 144
    return-void
.end method

.method public onDestroy()V
    .registers 2

    .prologue
    .line 670
    invoke-super {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onDestroy()V

    .line 671
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->unregister(Ljava/lang/Object;)V

    .line 672
    return-void
.end method

.method public onMessageNitifyStatusChanged(Lcom/brixd/niceapp/bus/event/MessageNotifyEvent;)V
    .registers 3
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/MessageNotifyEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 742
    iget v0, p1, Lcom/brixd/niceapp/bus/event/MessageNotifyEvent;->messageCount:I

    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateMessageStatus(I)V

    .line 743
    return-void
.end method

.method public onResume()V
    .registers 2

    .prologue
    .line 148
    invoke-super {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onResume()V

    .line 150
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v0, :cond_1c

    .line 151
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v0

    invoke-static {v0}, Lcom/brixd/niceapp/util/LocalCacheUtils;->getMessageCount(I)I

    move-result v0

    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateMessageStatus(I)V

    .line 156
    :goto_14
    invoke-static {}, Lcom/brixd/niceapp/util/LocalCacheUtils;->isShowCommunitySidebarNotify()Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateCommunitySidebarNotify(Z)V

    .line 157
    return-void

    .line 153
    :cond_1c
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateMessageStatus(I)V

    goto :goto_14
.end method

.method public onUserInfoChanged(Lcom/brixd/niceapp/bus/event/UpdateUserInfoEvent;)V
    .registers 2
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/UpdateUserInfoEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 756
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateUserInfo()V

    .line 757
    return-void
.end method

.method public onUserLogout(Lcom/brixd/niceapp/bus/event/UserLogoutEvent;)V
    .registers 6
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/UserLogoutEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 707
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v2, :cond_37

    .line 708
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-static {v2}, Lcn/sharesdk/framework/ShareSDK;->initSDK(Landroid/content/Context;)V

    .line 709
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getPlatform()Lcom/brixd/niceapp/service/LoginService$SNSPlatform;

    move-result-object v2

    sget-object v3, Lcom/brixd/niceapp/service/LoginService$SNSPlatform;->QQ:Lcom/brixd/niceapp/service/LoginService$SNSPlatform;

    if-ne v2, v3, :cond_38

    .line 710
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    sget-object v3, Lcn/sharesdk/tencent/qzone/QZone;->NAME:Ljava/lang/String;

    invoke-static {v2, v3}, Lcn/sharesdk/framework/ShareSDK;->getPlatform(Landroid/content/Context;Ljava/lang/String;)Lcn/sharesdk/framework/Platform;

    move-result-object v0

    .line 711
    .local v0, "qq":Lcn/sharesdk/framework/Platform;
    if-eqz v0, :cond_2a

    invoke-virtual {v0}, Lcn/sharesdk/framework/Platform;->isValid()Z

    move-result v2

    if-eqz v2, :cond_2a

    .line 712
    invoke-virtual {v0}, Lcn/sharesdk/framework/Platform;->removeAccount()V

    .line 721
    .end local v0    # "qq":Lcn/sharesdk/framework/Platform;
    :cond_2a
    :goto_2a
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-static {v2}, Lcom/brixd/niceapp/sys/service/SyncService;->stop(Landroid/content/Context;)V

    .line 722
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->userLogout()V

    .line 723
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateUserInfo()V

    .line 725
    :cond_37
    return-void

    .line 714
    :cond_38
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getPlatform()Lcom/brixd/niceapp/service/LoginService$SNSPlatform;

    move-result-object v2

    sget-object v3, Lcom/brixd/niceapp/service/LoginService$SNSPlatform;->Weibo:Lcom/brixd/niceapp/service/LoginService$SNSPlatform;

    if-ne v2, v3, :cond_2a

    .line 715
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    sget-object v3, Lcn/sharesdk/tencent/qzone/QZone;->NAME:Ljava/lang/String;

    invoke-static {v2, v3}, Lcn/sharesdk/framework/ShareSDK;->getPlatform(Landroid/content/Context;Ljava/lang/String;)Lcn/sharesdk/framework/Platform;

    move-result-object v1

    .line 716
    .local v1, "weibo":Lcn/sharesdk/framework/Platform;
    if-eqz v1, :cond_2a

    invoke-virtual {v1}, Lcn/sharesdk/framework/Platform;->isValid()Z

    move-result v2

    if-eqz v2, :cond_2a

    .line 717
    invoke-virtual {v1}, Lcn/sharesdk/framework/Platform;->removeAccount()V

    goto :goto_2a
.end method

.method public onUserSignon(Lcom/brixd/niceapp/bus/event/UserSignonEvent;)V
    .registers 4
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/UserSignonEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 692
    invoke-virtual {p1}, Lcom/brixd/niceapp/bus/event/UserSignonEvent;->getUserModel()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 693
    invoke-virtual {p1}, Lcom/brixd/niceapp/bus/event/UserSignonEvent;->getUserModel()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateUserInfoUI(Lcom/brixd/niceapp/model/UserModel;)V

    .line 695
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mHomePageBtn:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mCurrentItemBox:Ljava/lang/Object;

    if-ne v0, v1, :cond_1f

    .line 696
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    new-instance v1, Lcom/brixd/niceapp/bus/event/UpdateCommunityBgEvent;

    invoke-direct {v1}, Lcom/brixd/niceapp/bus/event/UpdateCommunityBgEvent;-><init>()V

    invoke-virtual {v0, v1}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 699
    :cond_1f
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mClickView:Landroid/view/View;

    if-eqz v0, :cond_2b

    .line 700
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mClickView:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->performClick()Z

    .line 701
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mClickView:Landroid/view/View;

    .line 703
    :cond_2b
    return-void
.end method

.method public updateSideNavItemState(Lcom/brixd/niceapp/activity/NiceAppContentActivity$TargetFragment;)Z
    .registers 6
    .param p1, "curFragment"    # Lcom/brixd/niceapp/activity/NiceAppContentActivity$TargetFragment;

    .prologue
    const/4 v3, 0x0

    .line 653
    const/4 v0, 0x0

    .line 654
    .local v0, "ret":Z
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$7;->$SwitchMap$com$brixd$niceapp$activity$NiceAppContentActivity$TargetFragment:[I

    invoke-virtual {p1}, Lcom/brixd/niceapp/activity/NiceAppContentActivity$TargetFragment;->ordinal()I

    move-result v2

    aget v1, v1, v2

    packed-switch v1, :pswitch_data_1c

    .line 665
    :goto_d
    return v0

    .line 656
    :pswitch_e
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mHomePageBtn:Landroid/view/ViewGroup;

    invoke-direct {p0, v1, v3}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateCurrentNavItemState(Landroid/view/ViewGroup;Z)Z

    move-result v0

    .line 657
    goto :goto_d

    .line 659
    :pswitch_15
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mDailyNiceAppBtn:Landroid/view/ViewGroup;

    invoke-direct {p0, v1, v3}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->updateCurrentNavItemState(Landroid/view/ViewGroup;Z)Z

    move-result v0

    .line 660
    goto :goto_d

    .line 654
    :pswitch_data_1c
    .packed-switch 0x1
        :pswitch_e
        :pswitch_15
    .end packed-switch
.end method
